package com.atguigu.gulimall.finance.entity.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ExcelFinanceVo {
    @Excel(name = "编号", orderNum = "0")
    private Long id;
    /**
     * 收入名称
     */
    @Excel(name = "收入名称", orderNum = "1")
    private String incomeName;
    /**
     * 收入金额
     */
    @Excel(name = "收入金额", orderNum = "2")
    private BigDecimal incomeMoney;
    /**
     * 类型（0:收入；1:支出）
     */
//    @Excel(name = "收入类型", orderNum = "3")
    private Integer incomeType;
    @Excel(name = "类型", orderNum = "3")
    private String incomeTypeName;
    /**
     * 创建时间
     */
    @Excel(name = "创建时间", orderNum = "4", exportFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /**
     * 更新时间
     */
    @Excel(name = "更新时间", orderNum = "5", exportFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
